package com.ali.framework.controller;

import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Smile
 * @Date: 2023/12/18/15:57
 * @Description:
 */
@RefreshScope //动态刷新
@RestController
public class NacosConfigController {

    @RequestMapping("/nacos/test")
    public String test(){
        return "hello world";
    }

}
